<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="../node_modules/vue/dist/vue.js"></script>

    <div id="app">
        能用来装逼的语言：<br>
        <input v-model="language" type="checkbox" value="Java" /> Java <br>
        <input v-model="language" type="checkbox" value="PHP" /> Java <br>
        <input v-model="language" type="checkbox" value="C++" /> Java <br>

        你选择了：{{language.join(',')}}
    </div>

    <script>
        new Vue({
            el:"#app",
            data:{
                language:[]
            }
        })
    </script>
</body>
</html>